GetQDPort
Mac OSThe
GetQDPort
method returns the QuickDraw graphics-port drawing structure for this canvas.
GrafPtr GetQDPort ();
- return value
- A pointer to a QuickDraw graphics port.
DISCUSSION
If you are using QuickDraw for imaging, you call this method in your part'sDraw
method or whenever you need to draw anything into a facet.EXCEPTIONS
kODErrInvalidGraphicsSystem
- This implementation of OpenDoc does not support QuickDraw, QuickDraw is not installed or available, or this canvas has no QuickDraw drawing structure.
SEE ALSO
TheODCanvas::GetGXViewport
method (page 69).
"The Draw Method of Your Part Editor" on page 158 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help